package com.lagou.study.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "lagou-service-email")
public interface CodeFeignClientService {

    @PostMapping("email")
    String sendCode(@RequestParam String code);
}
